american math olympiad question